<template>
  <div class="bg_fff full-w p_20 full_h">
    <el-tabs v-model="activeName" @tab-click="handleClick" class="intabs">
      <el-tab-pane label="全部" name="first">
        <active-list v-if="activeName=='first'" />
      </el-tab-pane>
      <el-tab-pane label="未发布" name="second">
        <active-list v-if="activeName=='second'" :status='0'/>
      </el-tab-pane>
      <el-tab-pane label="进行中" name="third">
        <active-list v-if="activeName=='third'" :status='1'/>
      </el-tab-pane>
      <el-tab-pane label="已结束" name="fourth">
        <active-list v-if="activeName=='fourth'" :status='4'/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import ActiveList from './ActiveList.vue';
export default {
  components: { ActiveList },
  data() {
    return {
      activeName: "first",
    };
  },
  methods:{
    handleClick(){

    }
  }
};
</script>

<style lang="scss" scoped>
.intabs {
  ::v-deep .el-tabs__nav-wrap::after {
    height: 0!important;
  }
  ::v-deep .el-tabs__item{
    padding: 0 32px;
  }
  ::v-deep .el-tabs__content{
    overflow: inherit;
  }
}
.full_h{
    height: 100%;
}
</style>